package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.ShoppingCart;

import java.util.List;

public interface IShoppingCartService {
    List<ShoppingCart> getShoppingCartByUserId(Long userId);

    List<ShoppingCart> getShoppingCartById(int[] ids);

    void saveOrUpdate(ShoppingCart shoppingCart);

    void deleteShoppingCartById(int[] ids);

    ShoppingCart saveAndReutenId(ShoppingCart shoppingCart);
}
